home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000415_rgibbens@redskytech.com_Tue Oct 1 15:32:39 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  50 lines

  1. Article: 13751 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!iad-peer.news.verio.net!news.verio.net!solaris.cc.vt.edu!news.vt.edu!msunews!not-for-mail
  3. From: "Robert Gibbens" <rgibbens@redskytech.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Return Value from User Defined Function
  6. Date: Tue, 1 Oct 2002 14:52:23 -0400
  7. Organization: Michigan State University
  8. Lines: 31
  9. Message-ID: <ancqt2$29dt$1@msunews.cl.msu.edu>
  10. References: <ancqme$2980$1@msunews.cl.msu.edu>
  11. NNTP-Posting-Host: 208.48.6.2
  12. X-AUTHid: gibbensr
  13. X-Priority: 3
  14. X-MSMail-Priority: Normal
  15. X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
  16. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13751
  18.  
  19. By the way, I'm using Kermit95 on Windows2000 Professional, running this
  20. script.
  21.  
  22.  
  23. "Robert Gibbens" <rgibbens@redskytech.com> wrote in message
  24. news:ancqme$2980$1@msunews.cl.msu.edu...
  25. > How would I go about evaluating the return value from a User defined
  26. > function?
  27. > For example, I have the function
  28. >
  29. > DEFINE mlChangePassword {
  30. >     (Do something)
  31. >     IF FAILURE {
  32. >         return 1
  33. >     }
  34. >     else
  35. >     {
  36. >         return 0
  37. >     }
  38. > }
  39. >
  40. > and I would like to call it and check whether it returned a 0 or a 1
  41. > (Success/Failure) so that I can decide what to do next.
  42. >
  43. > Thanks,
  44. >     Robert Gibbens
  45. >     rgibbens@redskytech.com
  46. >
  47. >
  48.  
  49.  
  50.